import { Card } from 'antd'
import React from 'react'

export interface NoticeProps {
  title?: string
  content?: string
}

export const Notice: React.FC<NoticeProps> = ({ title, content }) => {
  return (
    <Card title={title} variant="borderless" style={{ width: '100%' }}>
      {content}
    </Card>
  )
}
